PDF Plugin for Xojo

Font.Descent Property (console safe)

Gets the vertical descent of the font.

Descent as Integer {Read}

Remarks

Note this is the descent for the font and is not relative to font size or the page.

To get it relative to the page and font size then you calculate it as follows:


Dim descent as Single

// For font size 12
descent = font.Descent * 12 / 1000.0

See Also

Font Class